package com.corpgovernment.organization.model.org.dto;

import java.io.Serializable;

/**
 * @ClassName: OrgDeptDto
 * @description: TODO
 * @author: zdwang
 * @date: Created in 15:26 2019/7/17
 * @Version: 1.0
 **/
public class OrgDeptDto implements Serializable{

    /**
     * parentDepartmentId : 386ef8f0-c0b7-4163-af5e-572c349de863
     * no :
     * pathIdOfCache : 386ef8f0-c0b7-4163-af5e-572c349de863/d9788d11-11e7-4e5d-ae85-a2887eba643a/
     * layer : 2
     * companyId : 3660f001-c3d7-4e79-8182-4fd00bb1de6d
     * zone :
     * existSubModelOfCache : false
     * root : false
     * name : 车队
     * orderIndex : 19
     * outerId :
     * id : d9788d11-11e7-4e5d-ae85-a2887eba643a
     * pathNameOfCache : 集团本部/车队/
     * administrators :
     * ext2 :
     * desc :
     * ext1 :
     */

    private String parentDepartmentId;
    private String no;
    private String pathIdOfCache;
    private int layer;
    private String companyId;
    private String zone;
    private boolean existSubModelOfCache;
    private boolean root;
    private String name;
    private int orderIndex;
    private String outerId;
    private String id;
    private String pathNameOfCache;
    private String administrators;
    private String ext2;
    private String desc;
    private String ext1;

    public String getParentDepartmentId() {
        return parentDepartmentId;
    }

    public void setParentDepartmentId(String parentDepartmentId) {
        this.parentDepartmentId = parentDepartmentId;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public String getPathIdOfCache() {
        return pathIdOfCache;
    }

    public void setPathIdOfCache(String pathIdOfCache) {
        this.pathIdOfCache = pathIdOfCache;
    }

    public int getLayer() {
        return layer;
    }

    public void setLayer(int layer) {
        this.layer = layer;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public String getZone() {
        return zone;
    }

    public void setZone(String zone) {
        this.zone = zone;
    }

    public boolean isExistSubModelOfCache() {
        return existSubModelOfCache;
    }

    public void setExistSubModelOfCache(boolean existSubModelOfCache) {
        this.existSubModelOfCache = existSubModelOfCache;
    }

    public boolean isRoot() {
        return root;
    }

    public void setRoot(boolean root) {
        this.root = root;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getOrderIndex() {
        return orderIndex;
    }

    public void setOrderIndex(int orderIndex) {
        this.orderIndex = orderIndex;
    }

    public String getOuterId() {
        return outerId;
    }

    public void setOuterId(String outerId) {
        this.outerId = outerId;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getPathNameOfCache() {
        return pathNameOfCache;
    }

    public void setPathNameOfCache(String pathNameOfCache) {
        this.pathNameOfCache = pathNameOfCache;
    }

    public String getAdministrators() {
        return administrators;
    }

    public void setAdministrators(String administrators) {
        this.administrators = administrators;
    }

    public String getExt2() {
        return ext2;
    }

    public void setExt2(String ext2) {
        this.ext2 = ext2;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getExt1() {
        return ext1;
    }

    public void setExt1(String ext1) {
        this.ext1 = ext1;
    }

    @Override
    public String toString() {
        return "OrgDeptDto{" +
                "parentDepartmentId='" + parentDepartmentId + '\'' +
                ", no='" + no + '\'' +
                ", pathIdOfCache='" + pathIdOfCache + '\'' +
                ", layer=" + layer +
                ", companyId='" + companyId + '\'' +
                ", zone='" + zone + '\'' +
                ", existSubModelOfCache=" + existSubModelOfCache +
                ", root=" + root +
                ", name='" + name + '\'' +
                ", orderIndex=" + orderIndex +
                ", outerId='" + outerId + '\'' +
                ", id='" + id + '\'' +
                ", pathNameOfCache='" + pathNameOfCache + '\'' +
                ", administrators='" + administrators + '\'' +
                ", ext2='" + ext2 + '\'' +
                ", desc='" + desc + '\'' +
                ", ext1='" + ext1 + '\'' +
                '}';
    }
}